/**
 * 详单查询
 */
import request from '@/utils/request';

// 列表数据查询
export function getGrid(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/business/monitoring/detail/getList',
		method: 'post',
		data: query,
		timeout: 600000,
	});
}

// 下载
export function download(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/management/documentExportInfo/documentExport',
		method: 'post',
		data: data,
		responseType: 'blob',
		timeout: 600000,
		headers: {
			VERSION: 'lishilei',
		},
	});
}
